#include"my_stdio.h"
#include"my_string.h"
#include<stdio.h>
int main()
{
    mFILE* fd=mfopen("./log.txt","w");
    if(fd==NULL)
    {
        printf("perror\n");
        return 1;
    }
    const char*str="abcdefg\n";
    printf("%s:%d\n",str,mstrlen(str));
    mfwrite(str,mstrlen(str),fd);
    mfclose(fd);
    return 0;
}
